package com.lyc.yuki.module.finance.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lyc.yuki.module.finance.domain.po.FundAccountPO;
import com.lyc.yuki.module.finance.mapper.FundAccountMapper;
import com.lyc.yuki.module.finance.service.FundAccountService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: lyc
 * @Date: 2025/7/19 16:49
 */
@Service
public class FundAccountServiceImpl extends ServiceImpl<FundAccountMapper, FundAccountPO> implements FundAccountService {

    @Override
    public IPage<FundAccountPO> pageItem(Page<FundAccountPO> page) {
        return baseMapper.pageItem(page);
    }

    @Override
    public List<FundAccountPO> getFundAccountListByName(String name) {
        return baseMapper.getFundAccountListByName(name);
    }
}
